package na.learn.java.smalltests;

public class TestInh {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Class1 cls1 = new Class1();
		B b = new B();
		
		// This is compile time error.
		//b = (A)cls1;
		

	}

}
